package com.jy.blog.model;

import java.sql.Date;

public class User {
	 private  int userId;
	 private  String userName;
	 private  String password;
	 private   String email;
	 private   String birth;
	 private   int phone;
	 private int level;
    public User(){
    	
    }
	public User(int userId, String userName, String password, String email, String birth, int phone, int level) {
		
		this.userId = userId;
		this.userName = userName;
		this.password = password;
		this.email = email;
		this.birth = birth;
		this.phone = phone;
		this.level = level;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getBirth() {
		return birth;
	}
	public void setBirth(String birth) {
		this.birth = birth;
	}
	public int getPhone() {
		return phone;
	}
	public void setPhone(int phone) {
		this.phone = phone;
	}
	public int getLevel() {
		return level;
	}
	public void setLevel(int level) {
		this.level = level;
	}
	@Override
	public String toString() {
		return "User [userId=" + userId + ", userName=" + userName + ", password=" + password + ", email=" + email
				+ ", birth=" + birth + ", phone=" + phone + ", level=" + level + "]";
	}
	
}
